package net.zjitc.service;

import net.zjitc.domain.Order;
import net.zjitc.domain.User;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * Created by guo on 2017/11/22.
 */
public interface OrdersService {

    List<Order> findAllOrders() throws SQLException;

    List<Order> findOrders(int state);

    int add(Order order);

    List<Order> findAllOrdersByUser(int uid) ;


//    List<Order> findAllOrdersByOid(String oid);


}
